package com.example.login.api

import com.gsafety.libraryktx.base.RespBaseBean
import retrofit2.Call
import retrofit2.http.GET
import retrofit2.http.POST
import retrofit2.http.QueryMap
import java.util.*

/**
 * @author : lj
 * @date : 2020/9/18 11:20
 */
interface ApiService {
    @POST("login")
    fun login(@QueryMap params: TreeMap<String, Any>): Call<RespBaseBean<String>>

    @POST("logincheck")
    fun logincheck(@QueryMap params: TreeMap<String, Any>): Call<RespBaseBean<String>>
}